#include "BSVolume.h"

BSVolume::BSVolume()
{
	m_name = "Volume";
}

BSVolume::~BSVolume()
{

}

void BSVolume::Update()
{	
	if (m_mouseDidIntersect && m_mouseButtonWasReleased)
	{
		m_sound->SetVolume(m_amount);

		m_mouseButtonWasReleased = false;
		m_mouseDidIntersect = false;
	}
}